﻿// --------------------------------
// <copyright file="Order.cs" company="OpenTicket">
//     Microsoft Public License (Ms-PL)
// </copyright>
// <author>Glenn</author>
// ---------------------------------

using System;
using System.Collections.Generic;

namespace OpenTicket.Model
{
    /// <summary>
    /// POCO For ORder
    /// </summary>
    public class Order
    {
        /// <summary>
        /// Gets or sets the order id.
        /// </summary>
        /// <value>The order id.</value>
        public Guid OrderId { get; set; }

        /// <summary>
        /// Gets or sets the created date.
        /// </summary>
        /// <value>The created date.</value>
        public DateTime CreatedDate { get; set; }

        /// <summary>
        /// Gets or sets the client.
        /// </summary>
        /// <value>The client.</value>
        public Client Client { get; set; }

        /// <summary>
        /// Gets or sets the order rows.
        /// </summary>
        /// <value>The order rows.</value>
        public IEnumerable<OrderRow> OrderRows { get; set; }
    }
}
